package com.jia.train.member.request;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MemberLoginRequest {

    @NotBlank(message = "[手机号]不能为空")
    private String mobile;

    @NotBlank(message = "[验证码]不能为空")
    private String code;

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("MemberLogRequest{");
        sb.append("mobile='").append(mobile).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append('}');
        return sb.toString();
    }
}

